package cn.xq.pethome.base.service;

import cn.xq.pethome.base.query.BaseQuery;

import java.util.List;

public interface IBaseService<T> {
  void insert(T t);
  void delete(Long id);
  void update(T t);
  T findone(Long id);
  List<T> findall();
  List<T> findquery(BaseQuery baseQuery);
  Long findqueryCount(BaseQuery baseQuery);
}
